<%-- 
    Document   : links
    Created on : Aug 23, 2008, 1:10:41 PM
    Author     : jakub
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<script type="text/javascript">

function changeTheme(form){
	
	var url = "<%=request.getContextPath()%>/changeTheme.htm?theme="
		+ form.options[form.selectedIndex].value

	new Ajax.Request(url, {
		method: 'get'
	});		
}

</script>

<div>
	<a href="<%=request.getContextPath()%>/blog.htm">blog</a><br>
    <a href="<%=request.getContextPath()%>/addBook.htm">addBook</a><br>
	<a href="<%=request.getContextPath()%>/addBookS.htm">addBookS</a><br>
    <a href="<%=request.getContextPath()%>/listBooks.htm">listBooks</a><br>
    <a href="<%=request.getContextPath()%>/addAuthor.htm">addAuthor</a><br>
	<a href="<%=request.getContextPath()%>/addAuthorS.htm">addAuthorS</a><br>
    <a href="<%=request.getContextPath()%>/listAuthors.htm">listAuthors</a><br>
	<a href="<%=request.getContextPath()%>/search.htm">search</a><br>
	<a href="<%=request.getContextPath()%>/insertSampleObjects.htm">insertSampleObjects</a><br>
	<hr>
	<a href="<%=request.getContextPath()%>/hello2.htm">hello2</a><br>
	<a href="<%=request.getContextPath()%>/test/forwardToFoo.htm">forwardToFoo</a><br>
	<a href="<%=request.getContextPath()%>/test/redirToFoo.htm">redirToFoo</a><br>
	<a href="<%=request.getContextPath()%>/test/testFoo.htm">testFoo</a><br>
	<a href="<%=request.getContextPath()%>/test/foo.htm">foo</a><br>
	<a href="<%=request.getContextPath()%>/test/foo.htm">foo</a><br>

	<a href="<%=request.getContextPath()%>/test/getPdf.htm">getPdf.htm</a><br>
	<a href="<%=request.getContextPath()%>/testNoRollback.htm">testNoRollback</a><br>

	<select onchange="javascript:changeTheme(this)" id="theme_select">
		<option>theme1</option>
		<option>theme2</option>
		<option>theme3</option>
	</select>
</div>
